package com.zto.sch.advance.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExportVo {
    @NumberFormat
    @ExcelProperty(value = "所属门店ID", index = 0)
    private Integer storeId;

    @ExcelProperty(value = "姓名", index = 1)
    private String name;

    @ExcelProperty(value = "手机号", index = 2)
    private String mobile;

    @ExcelProperty(value = "公众号openid", index = 3)
    private String openId;

    @ExcelProperty(value = "appid", index = 4)
    private String appid;

    @ExcelProperty(value = "小程序openid", index = 5)
    private String miniOpeId;

    @ExcelProperty(value = "性别", index = 6)
    private String sex;

    @ExcelProperty(value = "生日", index = 7)
    @DateTimeFormat("yyyy/MM/dd")
    private Date birthday;

    @ExcelProperty(value = "身份证", index = 8)
    private String idCard;

    @ExcelProperty(value = "邮箱", index = 9)
    private String email;

    @ExcelProperty(value = "详细地址", index = 10)
    private String address;

    @ExcelProperty(value = "教育背景", index = 11)
    private String education;

    @ExcelProperty(value = "行业", index = 12)
    private String vocation;

    @ExcelProperty(value = "兴趣爱好", index = 13)
    private String hobby;

    @ExcelProperty(value = "职业", index = 14)
    private String profession;

    @ExcelProperty(value = "年收入(元)", index = 15)
    private Integer income;

    @ExcelProperty(value = "客户标签", index = 16)
    private String customerTag;

}